package com.wangijun.yuan.admin.blog.model.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 评论表 保存参数
 * </p>
 *
 * @author Wlf
 * @since 2024-08-26
 */
@Getter
@Setter
@Schema(name = "Comment", description = "评论表")
public class CommentSaveParam {

    @Schema(description = "评论ID")
    private Long id;

    @Schema(description = "父节点")
    private Long parentId;

    @Schema(description = "回复ID")
    private Long replyId;

    @Schema(description = "文章ID")
    private Long articleId;

    @Schema(description = "评论内容")
    private String content;

    @Schema(description = "用户ID")
    private Long userId;

    @Schema(description = "IP地址")
    private String address;

    @Schema(description = "点赞数")
    private Integer likes;

    @Schema(description = "创建时间")
    private LocalDateTime createTime;

    @Schema(description = "被举报次数")
    private Integer reportNum;
}
